package dao;

import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.Statement;
import java.util.List;

public interface BaseDao<T> {
	//链接
	public Connection getconnection();
	//关闭所有
	public void closeAll(Connection conn,Statement pstmt,ResultSet rs);
	//查询所有
	public List<T> showAll(String sql,Object... parms);
	//增删改
	public void CUDObject(String sql,Object... parms);
}
